<?php
/**
 * Created by PhpStorm.
 * User: kevin
 * Date: 2018/1/12
 * Time: 11:56
 */
namespace app\super\validate;

use think\Validate;
class AddUserValidate extends Validate{
    protected $rule = [
        'user_name' => 'require',
        'phone_num' =>'require',
    ];
    protected $message = [
        'user_name.require' => '用户名称不能为空',
        'phone_num.require' => '手机号不能为空',
    ];
}